/*
 * Copyright (C) 2001-2005 Pleasant nightmare studio
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 *
 * See the GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 */
package org.pleasantnightmare.acake.dataclass;

import org.pleasantnightmare.acake.errorhandling.CheckError;

/**
 * CheckErrors for @Data
 *
 * @author deus
 * @version 1.0
 * @since Nov 17, 2009 11:40:16 AM
 */
public class DataCheckErrors {
    public static final CheckError NO_EMPTY_CONSTRUCTOR = new CheckError(1, "No public empty constructor!");
    public static final CheckError NO_FULL_ARG_CONSTRUCTOR = new CheckError(2, "No public full-arg constructor!");
    public static final CheckError DEPENDENCY_NOT_PRIMITIVE_OR_DATA = new CheckError(3, "Dependencies are not primitives or another @Data class: %s");
    public static final CheckError NO_EQUALS = new CheckError(4, "Missing equals(Object) override!");
    public static final CheckError NO_HASHCODE = new CheckError(5, "Missing hashCode() override!");
    public static final CheckError NO_TOSTRING = new CheckError(6, "Missing toString() override!");
    public static final CheckError MISSING_BEAN_PROPERTY_METHOD = new CheckError(7, "Not every field is exposed via bean" +
            "properties, declared fields: %s, properties: %s");
    public static final CheckError NO_READABLE_PROPERTY_METHOD = new CheckError(8, "No READABLE property: %s");
    public static final CheckError NO_WRITEABLE_PROPERTY_METHOD = new CheckError(9, "No WRITABLE property: %s");
    public static final CheckError EXTRA_METHOD = new CheckError(10, "Class has more methods than a dataclass should have: %s");
}
